#include <iostream>
#include "Point"

using namespace std;

void test()
{
    Point & pt = Point::getInstance();
    pt.print();

    Point & pt2 = Point::getInstance();
    pt2.print();

    cout << &pt << endl;
    cout << &pt2 << endl;
}

int main()
{
    test();
    return 0;
}

